<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>两个数组对象合并</title>
</head>
<body>
  <script>
    const listMonitor = [
      {
        "regionId": "1",
        "name": "37资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9097/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查37资源池域名 https://172.38.30.70:8443 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查37资源池域名 http://172.38.30.70:7480 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538379530
      },
      {
        "regionId": "2",
        "name": "obs资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9098/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查obs资源池域名 https://172.38.12.90:9443 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查obs资源池域名 https://obs.huawei.com 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538369619
      },
      {
        "regionId": "3",
        "name": "xsky资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9098/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359593
      },
      {
        "regionId": "2107091006179869025",
        "name": "测试环境37度存储资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9097/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359640
      },
      {
        "regionId": "2107091132091529038",
        "name": "测试环境obs资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9098/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查测试环境obs资源池域名 https://172.38.12.90:9443 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查测试环境obs资源池域名 https://obs.huawei.com 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538369598
      },
      {
        "regionId": "2107121449279679183",
        "name": "验证资源池同步0712",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://3.com 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查验证资源池同步0712域名 http://33.com 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查验证资源池同步0712域名 http://44.com 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538374753
      },
      {
        "regionId": "2107131025547739076",
        "name": "verify0713-xsky",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://gdas-proxy-update 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查verify0713-xsky域名 http://xsky-manage 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查verify0713-xsky域名 http://xsky-s3 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538369808
      },
      {
        "regionId": "2107161723330539428",
        "name": "V0716-xsky-01",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 https://gdas-proxy-host 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查V0716-xsky-01域名 https://xsky-manage 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查V0716-xsky-01域名 https://xsky-s3 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538369811
      },
      {
        "regionId": "2107191434545209134",
        "name": "测试环境Xsky资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9098/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359709
      },
      {
        "regionId": "2107301407564469173",
        "name": "ziwen专用",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9098/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359664
      },
      {
        "regionId": "2107301409587019176",
        "name": "测试是否显示问题资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://12323333.com 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查测试是否显示问题资源池域名 http://12323333.com 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查测试是否显示问题资源池域名 http://12323333.com 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538369899
      },
      {
        "regionId": "2110180957080576162",
        "name": "101801资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 https://www.baidu.com/ 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查101801资源池域名 https://www.baidu.com/ 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359777
      },
      {
        "regionId": "2110181000459806165",
        "name": "101802资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 https://www.baidu.com/ 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查101802资源池域名 https://www.baidu.com/ 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359763
      },
      {
        "regionId": "2110181023060786491",
        "name": "1018gbs01",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://www 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查1018gbs01域名 http://www 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查1018gbs01域名 http://www 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538364613
      },
      {
        "regionId": "2110181024250136493",
        "name": "1018gbs01",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://www 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查1018gbs01域名 http://www 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查1018gbs01域名 http://www 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538364618
      },
      {
        "regionId": "2110181045110386502",
        "name": "1018gbs02",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://www 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查1018gbs02域名 http://www 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查1018gbs02域名 http://www 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538364616
      },
      {
        "regionId": "2110181103552786515",
        "name": "1018gbs03",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 obs 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "obs poe domain配置错误 obs",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "domain配置错误 obs",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538364616
      },
      {
        "regionId": "2110181243319549050",
        "name": "1018GBS04",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://www 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查1018GBS04域名 http://www 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "ERROR",
        "s3Message": "请求异常！检查1018GBS04域名 http://www 是否有效！",
        "s3StatusEnum": "ERROR",
        "timestamp": 1639538364609
      },
      {
        "regionId": "2110181422235619021",
        "name": "101803小魏",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 https://www.baidu.com/?tn=62095104_44_oem_dg 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查101803小魏域名 https://www.baidu.com/?tn=62095104_44_oem_dg 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359746
      },
      {
        "regionId": "2110181423364889003",
        "name": "101804小魏-修改",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 https://www.baidu.com/?tn=62095104_44_oem_dg 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查101804小魏-修改域名 https://www.baidu.com/?tn=62095104_44_oem_dg 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359828
      },
      {
        "regionId": "2110191053587059449",
        "name": "1019gbs01-有活动",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 https://www.json.cn/ 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查1019gbs01-有活动域名 https://www.json.cn/ 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538365610
      },
      {
        "regionId": "2110191446565519089",
        "name": "测试环境xsky资源池2号",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9097/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359720
      },
      {
        "regionId": "2110211928260759086",
        "name": "线上哈尔滨（新）",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://gdas-proxy.unicom.heb.ehualu.it:38443/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359886
      },
      {
        "regionId": "2111111340488364890",
        "name": "测试环境xsky资源池3号",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9097/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359669
      },
      {
        "regionId": "2111150957054039167",
        "name": "测试开通不成功资源池",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 https://www.baidu.com/ 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查测试开通不成功资源池域名 https://www.baidu.com/ 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359853
      },
      {
        "regionId": "2111161532185029762",
        "name": "开通不成功测试",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 https://www.baidu.com/ 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "ERROR",
        "storagePlatformMessage": "请求异常！检查开通不成功测试域名 https://www.baidu.com/ 是否有效！",
        "storagePlatformStatusEnum": "ERROR",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359787
      },
      {
        "regionId": "2111231224017229009",
        "name": "204xsky资源池开通成功测",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9097/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359698
      },
      {
        "regionId": "2111241624265869272",
        "name": "xsky资源池能开通成功gao",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9097/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359666
      },
      {
        "regionId": "2111261558555819007",
        "name": "高帅37度超级智能存储开通成功",
        "gdasStatus": "ERROR",
        "gdasMessage": "请求异常！检查域名 http://172.38.90.205:9097/api 是否有效！",
        "gdasStatusEnum": "ERROR",
        "storagePlatformStatus": "NORMAL",
        "storagePlatformMessage": "",
        "storagePlatformStatusEnum": "NORMAL",
        "s3Status": "NORMAL",
        "s3Message": "",
        "s3StatusEnum": "NORMAL",
        "timestamp": 1639538359721
      }
    ]
    const list = []
    const res = list.map(item=>{
      const data = listMonitor.find(i=>item.resourcePoolId === i.regionId)
      return {
        ...item,
        monitor:data
      }
    })
    console.log(res);
  </script>
</body>
</html>